package com.woniuxy.system.service;

import com.woniuxy.system.entity.UrlPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.system.model.vo.PageVo;
import com.woniuxy.system.model.vo.PermissonMenuVo;

import java.util.List;

/**
 * <p>
 * 菜单和接口权限定义 服务类
 * </p>
 *
 * @author 作者
 * @since 2023-10-13
 */
public interface IUrlPermissionService extends IService<UrlPermission> {

    List<PermissonMenuVo> findPermissionsByManagerId(Long managerId);

    PageVo findAll(Integer pageNum, Integer pageSize, String name);

    List<PermissonMenuVo> treeList();
}
